﻿using System;
using System.Collections.Generic;
using EpiNEXT.Core.Fields;

namespace EpiNEXT.Core.Validation
{
    public interface ICondition
    {
        TokenPositions Position { get; set; }

        bool Evaluate(Record record);

        List<IField> GetFieldsInCondition(DataEntryInstrument form);
    }
}
